package com.herui.sdyu_lib.base;


import com.herui.sdyu_lib.R;

/**
 * Created by Administrator on 2016/4/26.
 */
public class FragmentDirectionAnim {

    public FragmentDirectionAnim() {
    }

    public FragmentDirectionAnim(boolean inRight) {
        if (!inRight){
            enterAnim = R.anim.in_left_anim;
            exitAnim = R.anim.out_right_anim;

            popEnter = R.anim.in_right_anim;
            popExit = R.anim.out_left_anim;
        }
    }

    public FragmentDirectionAnim(int enterAnim, int exitAnim, int popEnter, int popExit) {
        this.enterAnim = enterAnim;
        this.exitAnim = exitAnim;
        this.popEnter = popEnter;
        this.popExit = popExit;
    }

    public int enterAnim = R.anim.in_right_anim;
    public int exitAnim = R.anim.out_left_anim;

    public int popEnter = R.anim.in_left_anim;
    public int popExit = R.anim.out_right_anim;
}
